package com.collect.senegal.zhiBean.zhiReceive;


import com.collect.senegal.zhiUtils.StringUtil;

import java.io.Serializable;

public class ZHIRAuditerWholeKfDayBonusDetailDayEntity implements Serializable {

    private String realRepayTime;
    private String product;
    private String loanTime;
    private String repayTime;
    private String mobile;
    private String fullName;
    private String updateTime;
    private String type;

    public Boolean isBonus() {
        return getType().equalsIgnoreCase("BONUS");
    }

    public Boolean isPenalty() {
        return getType().equalsIgnoreCase("PENALTY");
    }

    public Boolean isSysDeny() {
        return getType().equalsIgnoreCase("REFUSE");
    }

    public String getRealRepayTime() {
        return StringUtil.safeString(realRepayTime);
    }

    public void setRealRepayTime(String realRepayTime) {
        this.realRepayTime = realRepayTime;
    }

    public String getProduct() {
        return StringUtil.safeString(product);
    }

    public void setProduct(String product) {
        this.product = product;
    }

    public String getLoanTime() {
        return StringUtil.safeString(loanTime);
    }

    public void setLoanTime(String loanTime) {
        this.loanTime = loanTime;
    }

    public String getRepayTime() {
        return StringUtil.safeString(repayTime);
    }

    public void setRepayTime(String repayTime) {
        this.repayTime = repayTime;
    }

    public String getMobile() {
        return StringUtil.safeString(mobile);
    }

    public String getMobileEnptry() {
        return StringUtil.phoneNumberEncryptFormatter(mobile);
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getFullName() {
        return StringUtil.safeString(fullName);
    }

    public void setFullName(String fullName) {
        this.fullName = fullName;
    }

    public String getUpdateTime() {
        return StringUtil.safeString(updateTime);
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getType() {
        return StringUtil.safeString(type);
    }

    public void setType(String type) {
        this.type = type;
    }
}
